Skip to content

test(ctypes): avoid linking vendored libraries twice - #16240

Merged
rgrinberg merged 1 commit into
ocaml:mainfrom
rgrinberg:push-yxktylqqmoko
Aug 28, 2026
Merged

test(ctypes): avoid linking vendored libraries twice#16240
rgrinberg merged 1 commit into
ocaml:mainfrom
rgrinberg:push-yxktylqqmoko

Conversation

@rgrinberg

Copy link
Copy Markdown
Member

Use c_library_flags as the sole linkage mechanism in the vendored Ctypes fixtures instead of also linking the same library through foreign_archives.

This avoids duplicate-library and invalid-search-path warnings from the macOS linker while continuing to exercise the Ctypes link actions.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
@rgrinberg
rgrinberg merged commit 3bd3177 into ocaml:main Aug 28, 2026
36 of 37 checks passed
@Alizter Alizter added this to the 3.25.0 milestone Aug 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants